package com.xmall.order.service;

import com.xmall.order.define.dto.OrderExpressDto;
import com.xmall.order.entity.OrderExpress;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xmall.order.define.request.express.OrderExpressUpdateRequest;

/**
 * <p>
 * 物流信息 服务类
 * </p>
 *
 * @author xmall
 * @since 2023-11-24
 */
public interface IOrderExpressService extends IService<OrderExpress> {

    /**
     * 根据订单ID查询详情
     */
    OrderExpressDto infoByOrderId(Long orderId);

    /**
     * 发货
     */
    void consignOrder(OrderExpressUpdateRequest request);

    /**
     * 编辑
     */
    void update(OrderExpressUpdateRequest request);
}
